package cn.echo.hrm.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration //其他地方要注入
@ConfigurationProperties(prefix = "file.aliyunoss")
@Data
public class AliyunOssProperties {
    private String bucketName;
    private String accessKey;
    private String secretKey;
    private String endpoint;
    private String dir;
}